updateIntensity

fun updateIntensity(value: Float, index: Int)

Updates the intensity of a selected emotion.

Parameters

value

The new intensity value for the emotion.

index

The index of the emotion to be updated.